﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Items = BomberManServer.Gaming.Object.Mapping.Items;
using BomberManServer.Gaming.Object.Mapping;


namespace BomberManServer.Gaming.Object.Bonuses
{
    public class BonusPerm : Items.Bonus
    {
        public BonusPerm(Game game, Items.Bonus.Type type)
            : base(game,type)
        {
        }
        public override void attach(Items.Avatar avatar)
        {
            avatar.modBonus.modify(type);
        }
        //public override void actionWalk(Mapping.Block block, Items.Avatar avatar)
        //{
        //    base.actionWalk(block,avatar);
        //    this.attach(avatar);
        //    game.sender.onBonusTaken(block.coordinates);
        //}

    }
}
